GpsCoordinateFormat

enum GpsCoordinateFormat : ProtocolMessageEnum

How the GPS coordinates are displayed on the OLED screen.
Protobuf enum meshtastic.Config.DisplayConfig.GpsCoordinateFormat

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val DEC_VALUE: Int = 0

GPS coordinates are displayed in the normal decimal degrees format:
DD.DDDDDD DDD.DDDDDD
DEC = 0;
Link copied to clipboard
val DMS_VALUE: Int = 1

GPS coordinates are displayed in the degrees minutes seconds format:
DD°MM'SS"C DDD°MM'SS"C, where C is the compass point representing the locations quadrant
DMS = 1;
Link copied to clipboard
val MGRS_VALUE: Int = 3

Military Grid Reference System format:
ZZB CD EEEEE NNNNN, where Z is zone, B is band, C is the east 100k square, D is the north 100k square,
E is easting, N is northing
MGRS = 3;
Link copied to clipboard
val OLC_VALUE: Int = 4

Open Location Code (aka Plus Codes).
OLC = 4;
Link copied to clipboard
val OSGR_VALUE: Int = 5

Ordnance Survey Grid Reference (the National Grid System of the UK).
Format: AB EEEEE NNNNN, where A is the east 100k square, B is the north 100k square,
E is the easting, N is the northing
OSGR = 5;
Link copied to clipboard
val UTM_VALUE: Int = 2

Universal Transverse Mercator format:
ZZB EEEEEE NNNNNNN, where Z is zone, B is band, E is easting, N is northing
UTM = 2;

Functions

Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): ConfigProtos.Config.DisplayConfig.GpsCoordinateFormat

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.